body {
  padding: 50px 0 0;
  margin-left: 200px;
  color: #666;
  font-family: Microsoft YaHei, "微软雅黑";
}

ol, ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

@import "function";

/* 文字排版 */
.f12 {
  font-size: 12px;
}

.f13 {
  font-size: 13px;
}

.f14 {
  font-size: 14px;
}

.f16 {
  font-size: 16px;
}

.f20 {
  font-size: 20px;
}

.fb {
  font-weight: 700;
}

.fn {
  font-weight: 400;
}

.t2 {
  text-indent: 2em;
}

.lh150 {
  line-height: 150%;
}

.lh180 {
  line-height: 180%;
}

.lh200 {
  line-height: 200%;
}

.unl {
  text-decoration: underline;
}

.no_unl {
  text-decoration: none;
}

/* 定位 */
.tl {
  text-align: left;
}

.tc {
  text-align: center;
}

.tr {
  text-align: right;
}

.bc {
  margin-left: auto;
  margin-right: auto;
}

.fl {
  float: left;
  display: inline;
}

.fr {
  float: right;
  display: inline;
}

.cb {
  clear: both;
}

.cl {
  clear: left;
}

.cr {
  clear: right;
}

.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.clearfix {
  display: inline-block;
}

.clearfix {
  display: block;
}

.vm {
  vertical-align: middle;
}

.pr {
  position: relative;
}

.pa {
  position: absolute;
}

.abs-right {
  position: absolute;
  right: 0;
}

.zoom {
  zoom: 1;
}

.hidden {
  visibility: hidden;
}

.none {
  display: none;
}

/* 长度高度 */
.w10 {
  width: 10px;
}

.w20 {
  width: 20px;
}

.w30 {
  width: 30px;
}

.w40 {
  width: 40px;
}

.w50 {
  width: 50px;
}

.w60 {
  width: 60px;
}

.w70 {
  width: 70px;
}

.w80 {
  width: 80px;
}

.w90 {
  width: 90px;
}

.w100 {
  width: 100px;
}

.w200 {
  width: 200px;
}

.w250 {
  width: 250px;
}

.w300 {
  width: 300px;
}

.w400 {
  width: 400px;
}

.w500 {
  width: 500px;
}

.w600 {
  width: 600px;
}

.w700 {
  width: 700px;
}

.w800 {
  width: 800px;
}

.w {
  width: 100%;
}

.h50 {
  height: 50px;
}

.h80 {
  height: 80px;
}

.h100 {
  height: 100px;
}

.h200 {
  height: 200px;
}

.h {
  height: 100%;
}

/* 边距 */
.m10 {
  margin: 10px;
}

.m15 {
  margin: 15px;
}

.m30 {
  margin: 30px;
}

.mt5 {
  margin-top: 5px;
}

.mt10 {
  margin-top: 10px;
}

.mt15 {
  margin-top: 15px;
}

.mt20 {
  margin-top: 20px;
}

.mt30 {
  margin-top: 30px;
}

.mt50 {
  margin-top: 50px;
}

.mt100 {
  margin-top: 100px;
}

.mb5 {
  margin-bottom: 5px;
}

.mb10 {
  margin-bottom: 10px;
}

.mb15 {
  margin-bottom: 15px;
}

.mb20 {
  margin-bottom: 20px;
}

.mb30 {
  margin-bottom: 30px;
}

.mb50 {
  margin-bottom: 50px;
}

.mb100 {
  margin-bottom: 100px;
}

.ml5 {
  margin-left: 5px;
}

.ml10 {
  margin-left: 10px;
}

.ml15 {
  margin-left: 15px;
}

.ml20 {
  margin-left: 20px;
}

.ml30 {
  margin-left: 30px;
}

.ml50 {
  margin-left: 50px;
}

.ml100 {
  margin-left: 100px;
}

.mr5 {
  margin-right: 5px;
}

.mr10 {
  margin-right: 10px;
}

.mr15 {
  margin-right: 15px;
}

.mr20 {
  margin-right: 20px;
}

.mr30 {
  margin-right: 30px;
}

.mr50 {
  margin-right: 50px;
}

.mr100 {
  margin-right: 100px;
}

.p10 {
  padding: 10px;
}

.p15 {
  padding: 15px;
}

.p30 {
  padding: 30px;
}

.pt5 {
  padding-top: 5px;
}

.pt10 {
  padding-top: 10px;
}

.pt15 {
  padding-top: 15px;
}

.pt20 {
  padding-top: 20px;
}

.pt30 {
  padding-top: 30px;
}

.pt50 {
  padding-top: 50px;
}

.pt100 {
  padding-top: 100px;
}

.pb5 {
  padding-bottom: 5px;
}

.pb10 {
  padding-bottom: 10px;
}

.pb15 {
  padding-bottom: 15px;
}

.pb20 {
  padding-bottom: 20px;
}

.pb30 {
  padding-bottom: 30px;
}

.pb50 {
  padding-bottom: 50px;
}

.pb100 {
  padding-bottom: 100px;
}

.pl5 {
  padding-left: 5px;
}

.pl10 {
  padding-left: 10px;
}

.pl15 {
  padding-left: 15px;
}

.pl20 {
  padding-left: 20px;
}

.pl30 {
  padding-left: 30px;
}

.pl50 {
  padding-left: 50px;
}

.pl100 {
  padding-left: 100px;
}

.pr5 {
  padding-right: 5px;
}

.pr10 {
  padding-right: 10px;
}

.pr15 {
  padding-right: 15px;
}

.pr20 {
  padding-right: 20px;
}

.pr30 {
  padding-right: 30px;
}

.pr50 {
  padding-right: 50px;
}

.pr100 {
  padding-right: 100px;
}

.navbar-inverse {
  background-color: rgba(0, 0, 0, 0.3);
  background-image: none;
  border: 0;

  .brand {
    color: #fff;
    margin-left: 0;

    &:hover {
      .transition(all .1s ease);
    }
    img {
      float: left;
      margin: -8px 5px 0;
    }

    .label {
      position: relative;
      left: 10px;
      top: -3px;
      font-weight: normal;
      font-size: 9px;
      background: #666;
      .box-shadow(inset 1px 1px 3px rgba(0, 0, 0, 0.7));
    }
  }

  .nav {

    li.dropdown.open > .dropdown-toggle {
      color: #fff;
      text-shadow: none;
    }

    > li > a {
      color: rgba(255, 255, 255, .8);

      &:focus,
      &:hover {
        color: #FFF;
        .transition(all .1s ease);
      }
    }
  }
}

.nav {
  &.pull-left > li {
    margin: 0 5px;

    i {
      color: rgba(255, 255, 255, .8);
      font-size: 30px;
      line-height: 44px;
      cursor: pointer;
      padding: 0 5px;
    }

    &:hover i {
      background-color: #3d9ccc;
      color: rgba(255, 255, 255, 1);
    }
  }

  > li.dropdown .dropdown-toggle {
    margin: 0px;

    i {
      font-size: 18px;
      cursor: pointer;
    }
  }

  li.nav-header > a {
    color: #666;
    margin: 0;
    padding: 0;
    text-shadow: none;
  }
}

.bg-color li.nav-header > a,
.nav > li.nav-header:hover > a,
.nav > li.nav-header:hover > a:focus {
  background: inherit;
  color: #fff;
  padding: 0;
  margin: 0;
}

.container-fluid {
  padding: 0;
}

/*sidebar-nav 导航*/
.sidebar-nav {
  position: fixed;
  width: 200px;
  left: 0px;
  bottom: 0;
  top: 50px;
  background: rgba(255, 255, 255, .3);
  z-index: 10;
  .box-shadow(0px 1px 10px rgba(0, 0, 0, 0.3));
  .transition(all .1s ease);

  .nav-header {
    cursor: pointer;
    font-size: 14px;
    color: #666;
    text-shadow: none;

    span.label {
      font-size: 10px;
      position: relative;
      top: -1px;
    }

    .popover {
      color: #999;
      text-shadow: none;
    }

    i {
      font-size: 16px;
      margin-left: 10px;
    }
  }

  .clearfix {
    margin: 15px 0 0;
  }

  .zoom-out {
    margin-left: 150px;
    border: 1px solid #999;
    width: 27px;
    height: 27px;
    opacity: .5;
    text-align: center;
    .border-radius();
    cursor: pointer;
    .transition(all 0s ease);

    &:hover {
      color: #FFF;
      opacity: 1;
    }

    i {
      line-height: 27px;
      cursor: pointer;
    }
  }

  .accordion-group {
    border: none;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0);
    .border-radius(0);
  }

  .lyrow {
    height: 28px;
    line-height: 28px;
    margin: 5px 0;
  }

  li {
    line-height: 45px;
  }

  .preview {
    display: block;
    color: #666;
    font-size: 12px;
    line-height: 22px;
  }

  .remove,
  .configuration,
  .model-data,
  .viewHead {
    display: none;
  }

  span.title {
    display: inline-block;
    text-indent: 1em;
  }
}

.sidebar-search {
  margin: 8px 20px 20px 20px;

  .input-box {
    padding-bottom: 2px;
    border: 1px solid #E5E5E5 !important;
  }

  .submit {
    display: block;
    float: right;
    margin-top: 2px;
    opacity: .5;
    cursor: pointer;

    i::before {
      cursor: pointer;
    }
  }

  input {
    margin: 0px;
    width: 145px;
    border: 0px;
    padding: 0;
    font-size: 14px;
    box-shadow: none;
    background-color: #FFF !important;
    color: #666 !important;
  }
}

.sidebar-nav .nav-header:hover,
.sidebar-nav .bg-color .nav-header {
  color: #fff;
  .transition(all .1s ease);
}

/*demo 视图区域*/
.demo {
  margin-left: 0px;
  padding: 1%;
  border-radius: 4px;
  position: relative;
  word-wrap: break-word;

  .model-data {
    width: 100%;
    border: medium none;
  }

  .preview {
    display: none;
  }

  .ui-sortable-placeholder {
    outline: 5px dotted #ddd;
    visibility: visible !Important;
    border-radius: 4px;
  }
}

.ui-draggable-dragging .view {
  display: block;
}

.drag {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  cursor: move !important;
}

.sidebar-nav .drag {
  height: 28px;
  line-height: 28px;
  padding: 0;
  background: white;
  color: #666;

  &:hover {
    color: white;
    .transition(all .1s ease);
  }
}

/*区域滚动条*/
#content-md {
  overflow: auto;
}

/*功能条*/
.toolbars {
  display: none;

  .compare {
    float: right;
    height: 24px;
    width: 24px;
    margin-left: 5px;
    border: 1px solid #ccc;
    .border-radius(4px);
    cursor: pointer;
  }

  .template {
    height: 26px;
    color: rgba(255, 255, 255, .8);
    margin-left: 5px;
    float: right;

    > div {
      float: left;
      border: 1px solid #ccc;
      .border-radius(4px);
      width: 24px;
      height: 24px;
      text-align: center;
      margin-right: 5px;

      &:hover {
        color: #fff;
      }
    }

    i {
      font-size: 1.5em;
      line-height: 26px;
      cursor: pointer;
    }
  }
}

.viewHead {
  width: 540px;
  height: 26px;
  float: right;
  .border-radius(4px);

  > div {
    float: left;
  }

  .crowd {
    border: 1px solid #CCC;
    .border-radius(4px);
    background-color: #fff;
    height: 22px;
    width: 26%;
    margin: 1px;
    padding-left: 1%;
  }

  .begin,
  .end {
    width: 22%;
    margin: 1px 1%;
  }

  .line {
    margin-top: 2px;
    color: #ccc;
  }

  input {
    height: 22px;
    width: 100%;
    padding: 4px 0;
  }

  .submit {
    float: right;
    margin-right: 1%;
    margin-top: 1px;
  }

  i.fa-check-square-o {
    font-size: 24px;
    color: rgba(255, 255, 255, .8);
    cursor: pointer;
  }

  .lastHour {
    height: 22px;
    width: 80px;
    color: rgba(255, 255, 255, .8);
    text-align: center;
    float: right;
    margin: 1px;
    font-size: 100%;
    border: 1px solid #CCC;
    .border-radius(4px);
    cursor: pointer;

    &:hover {
      color: #fff;
    }
  }
}

.label-important[href] {
  background-color: #d90000;
}

/*侧边栏的*/
#estRows .column {
  min-height: 200px;
}

/*全局的*/
.column {
  background-color: #F9F9F9;
  .border-radius(0 0 4px 4px);
  margin: 15px 0 0;
  padding: 1%;
  position: relative;
}

/*小页面左侧导航*/
body.devpreview {
  margin-left: 35px;

  .sidebar-nav {
    width: 35px;
    z-index: 11;
    .transition(all .1s ease);

    .rows,
    span.title {
      display: none !important;
    }

    .zoom-out {
      margin-left: 2px;
      .transition(all 0s ease);
    }

    .nav-header i {
      margin-left: 10px;
    }

    ul.nav-list {
      &:hover {
        width: 172px;
        height: 41px;

        li.nav-header {
          color: #FFF;
          .transition(all .1s ease);
        }

        li.rows {
          display: list-item !important;
          padding-top: 1px;
          margin: 0px 0 0 22px;
          width: 162px;
          background: rgba(255, 255, 255, .8);
        }

        span.title {
          display: inline-block !important;
        }
      }
    }
  }

  .sidebar-search .input-box {
    border: 0 !important;
    margin-bottom: 40px;

    .submit {
      margin-right: -5px;
    }

    input {
      display: none;
    }
  }
}

/*视图区域*/
.viewArea {
  width: 98%;
  margin: 1%;
  background-color: rgba(255, 255, 255, 1);
  position: relative;
  .box-shadow(0px 0px 10px 6px rgba(0, 0, 0, .3));
  .transition(all .1s ease);
  .border-radius(4px);

  .viewArea-h {
    width: 100%;
    height: 26px;
    color: #fff;
    position: absolute;
    text-indent: 1em;
    background-color: #3d9ccc;
    .border-radius(4px 4px 0px 0px);
  }

  .viewArea-c {
    width: 100%;
    position: absolute;
    margin-top: 26px;
  }

  .content-m {
    width: 99%;
    height: 100%;
    margin: 0 auto;
  }
}

/*警告-绿色*/
.green-alarm {
  color: #4ad455;
}

/*警告-红色*/
.red-alarm {
  color: #ff0000;
}

/*警告-黄色*/
.yelllow-alarm {
  color: #ffc800;
}

.icheckbox_line-blue {
  padding: 5px 5px 5px 25px;

  .icheck_line-icon {
    left: 5px;
  }
}